﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using EFCore.Sharding.DataAnnotations;

namespace Treca.Quartz.Entity
{
    /// <summary>
    /// 定时任务
    /// </summary>
    [Table("base_schedulesinfo")]
    [LogicDelete("IsDelete", "0")]
    public class base_schedulesinfo
    {

        /// <summary>
        /// 主键
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 任务组
        /// </summary>
        public String JobGroup { get; set; }

        /// <summary>
        /// 任务名
        /// </summary>
        public String JobName { get; set; }

        /// <summary>
        /// 任务类
        /// </summary>
        public String JobClass { get; set; }

        /// <summary>
        /// 任务描述
        /// </summary>
        public String JobDesc { get; set; }

        /// <summary>
        /// 运行状态
        /// </summary>
        public String RunStatus { get; set; }

        /// <summary>
        /// Cron表达式
        /// </summary>
        public String CromExpress { get; set; }

        /// <summary>
        /// 开始运行时间
        /// </summary>
        public DateTime? StarRunTime { get; set; }

        /// <summary>
        /// 结束运行时间
        /// </summary>
        public DateTime? EndRunTime { get; set; }

        /// <summary>
        /// 上次运行时间
        /// </summary>
        public DateTime? PreviousRunTime { get; set; }

        /// <summary>
        /// 下次运行时间
        /// </summary>
        public DateTime? NextRunTime { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public String Remark { get; set; }

        /// <summary>
        /// 使用状态
        /// </summary>
        public String StatusFlag { get; set; }

        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public String CreateOperator { get; set; }

        /// <summary>
        /// 修改日期
        /// </summary>
        public DateTime? ModifyDate { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public String ModifyOperator { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public String IsDelete { get; set; }


    }
}